﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CartoonEvent : MonoBehaviour {

    public AudioClip stormClip;
    private AudioSource audios;

    private void Start()
    {
        audios = GameObject.Find("Main Camera").GetComponent<AudioSource>();
    }

    void CartoonEnd()
    {
        //GetComponent<Animator>().enabled = false;
    }

    void StormMusic()
    {
        audios.clip = stormClip;
        audios.Play();
        audios.loop = true;
    }
}
